import request from '@/utils/request'

// 单指标风险区划设置-保存
export function singleSave (data) {
  return request({
    url: '/singleIndicatorRiskZoneSet/save',
    method: 'post',
    data
  })
}

// 单指标风险区划设置-查询
export function getSingle (params) {
  return request({
    url: '/singleIndicatorRiskZoneSet/get',
    method: 'get',
    params
  })
}

// 综合风险区划设置-保存
export function comprehensiveSave (data) {
  return request({
    url: '/comprehensiveRiskZoneSet/save',
    method: 'post',
    data
  })
}

// 综合风险区划设置-查询
export function getComprehensive (params) {
  return request({
    url: '/comprehensiveRiskZoneSet/get',
    method: 'get',
    params
  })
}
